<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="./js/jquery.min.js"></script>
	<script src="./js/layer/layer.js"></script>
</head>
<body>
	<div id="test" style="color: red; width: 200px;height: 200px;background-color: blue;">测试</div>

<script>
/**
 * type:0 1
 * content:'字符串'
 *
 * type:2
 * content:['http://网址','no']
 *
 * type:3
 *
 * type:4
 * content:['提示内容','DOM元素']
 */
layer.open({
	type:4,
	content:['提示内容','#test'],
	time:2000,
});
</script>
	
</body>
</html>